package com.peng.my_blog.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * All rights Reserved, Designed By www.rongdasoft.com
 *
 * @version V1.0
 * @Title: Girl
 * @Description:
 * @author:wsp
 * @date: 2019/9/6
 * @Copyright: 2019/9/6 www.rongdasoft.com
 * Inc. All rights reserved.
 */
@Data
@ConfigurationProperties("girl")
@Component
@RefreshScope
public class Girl {
    private String name;
    private Integer age;

}
